-
Notifications
You must be signed in to change notification settings - Fork 555
Adapt AI Agent Monitoring for potel #4551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Somewhat better diffable overview of the relevant changes (unfortunately also has some master stuff in it): https://github.com/getsentry/sentry-python/compare/f0ad7ac0a64e9d9aac350558c89513fe4541e21c..d8118e5001ceb2510f4cfc0cf7d9eb625cf77955 The actual changes are: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
One question: why have you removed the asserts for span description?
@antonpirker I am unsure which assertions you are referring to, but in one of the tests the description assertions are no longer needed because they are already checked by the logic that locates the spans in the spans array and assigns them to the correct variable |
Not sure, @szokeasaurusrex did that in c4ab8cc, maybe because of the op-name-description logic in potel there's now no description? Is description needed for the insights module? |
@sentrivana @antonpirker see my earlier reply. The assertions were made redundant by the logic which selects the spans based on their description |
ok, understand. I brought the asserts back. They are part of the OTel semantic conventions and a couple of asserts more does not make a performance difference and it also makes the tests easier to read and understand what the description should look like. |
Port the
openai-agents
integration topotel-base
.